package com.egreen.common.pojo.entity.asset;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author cloudJiang
 * @since 2022-07-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OperateBalanceRecording implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Integer id;

    /**
     * 余额账户id
     */
    private Long balanceAccountId;

    /**
     * 操作
     */
    private String operate;

    /**
     * 操作产生时间
     */
    private LocalDateTime time;

    /**
     * 操作的金额
     */
    private BigDecimal operateBalanceNum;

    /**
     * 操作后的余额
     */
    private BigDecimal operatedBalance;

    /**
     * 是否被删除(0:没有被删除,1:被删除)
     */
    private Integer deleted;

    /**
     * 内部订单号
     */
    private String generateTradeNo;

}
